<template>
    <div class="default-page">
        <img class="img" src="../assets/img/nodate.png" alt="">
        <div class="text">{{text}}</div>
    </div>
</template>

<script>
    export default {
        name: "DefaultPage",
        props:{
            text: {
				type: String,
				default() {
					return '暂无数据';
				}
			}
        }
    }
</script>

<style lang="less" scoped>
.default-page {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 50px;
    .img {
		width: 55%;
	}
    .text {
		font-size: 14px;
		color: #999;
		width: 60%;
		text-align: center;
	}
}
</style>